home *** CD-ROM | disk | FTP | other *** search
- #ifndef __SAMPLEFILEIO__
- #define __SAMPLEFILEIO__
-
- #ifndef __FILES__
- #include <Files.h>
- #endif
-
- #ifndef __STANDARDFILE__
- #include <StandardFile.h>
- #endif
-
- #ifndef __APPLEEVENTS__
- #include <AppleEvents.h>
- #endif
-
- extern void ConvertOldToNewSFReply(SFReply *oldReply, StandardFileReply *newReply);
- extern OSErr WriteWindowData(short refNum);
- extern OSErr ReadWindowData(short refNum);
- extern OSErr Create_OpenFile(FSSpec *file, short *refNum);
- extern Boolean DisplayPutFile(StandardFileReply *reply);
- extern Boolean SaveFile(WindowPtr window);
- extern Boolean DisplayGetFile(StandardFileReply *reply);
- extern OSErr OpenFile(FSSpecPtr fileToOpen);
-
- #endif __SAMPLEFILEIO__